/* 公共的样式 */

ul,li,h1,h2,h3,h4,h5,h6,p,input,form,button,textarea{
    margin: 0;
    padding: 0;
}
ul,li{
    list-style: none;
}
body{
    font:1rem / 1.5 Tahoma,Arial, Helvetica, 'microsoft Yahei',sans-serif;
    color: #000;  
    background-color: #eee;
    --theme-color:#31c27c;
}
a{
    color: #000;
    text-decoration: none;
    transition: 0.2s;
}
a:hover{
    color: var(--theme-color);
}
input,button,textarea{
    outline: none;
    border: none;
    background: none;
}
img{
    vertical-align: middle;
}
h1,h2,h3,h4,h5,h6{
    font-weight: normal;
}
em,i{
    font-style: normal;
}
.none{
    display: none;
}
.mb10{
    margin-bottom: 10px;
}
.mb20{
    margin-bottom: 20px;
}
.mb50{
    margin-bottom: 50px;
}
.pr{
    position: relative;
}
::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-thumb{
    background-color: #ccc;
    border-radius: 5px;
}
.vm{
    vertical-align: middle;
}
/* 版心 */
.w100{
    box-sizing: border-box;
    width: 100%;
    min-width: 1250px;
}
.w1600{
    width: 85%;
    max-width: 1600px;
    min-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

/* layout */

/* header */

.header-wrapper{
    background-color: #fff;
}

.header-nav{
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.mainnav{
    flex:1;
}
.mainnav-ul{
    display: flex;
}
.mainnav-li{
    position: relative;
}
.mainnav-a{
    display: block;
    height: 90px;
    line-height: 90px;
    padding: 0 23px;
    color:#000;
    font-size: 1.125rem;
}
.mainnav-li.active .mainnav-a{
    background-color: var(--theme-color);
    color: #fff;
}
.mark-img{
    position: absolute;
    right: 0px;
    top: 18px;
    width: 40px;
}
/* 搜索 */
.search{
    width: 220px;
    position: relative;

}
.search-input{
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    padding-left: 10px;
    font-size: 0.875rem;
}
.btn-search{
    position: absolute;
    right: 9px;
    top:9px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    background: url(../images/icon_sprite.png) no-repeat 0 -40px ;
}
.btn-search:hover{
    background-position: 0 -60px;
}
.search-input:focus+.search-wrapper{
    height: 196px;
}
.search-wrapper{
    position: absolute;
    width: 100%;
    height: 0;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #fff;
    transition: 0.5s;
    z-index: 10;
    
}
.search-drop{
    padding: 5px 0;
    border: 1px solid #c9c9c9;
    border-top: none;
}
.search-drop-a{
    display: flex;
    font-size: 0.875rem;
    padding: 8px 10px;
    gap: 10px;
    transition: 0.2s;
}
.search-drop-a:hover{
    background-color:var(--theme-color);
    color: #fff;
}
.search-drop-a:hover .num,.search-drop-a:hover .count{
    color: #fff;
}
.num{
    color: #fa4343;
}
.search-title{
    flex:1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.count{
    color: #999;

}
/* 用户 */
.user{
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn{
    font-size: 0.875rem;
    border-radius: 3px;
    height: 36px;
    padding: 0 30px;
    border: 1px solid #c9c9c9;
    cursor: pointer;
    transition: 0.2s;
}
.btn::after{
    content: '';
    position: absolute;
    border-top: 6px solid #333;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    right: 10px;
    top: 15px;
    transition: 0.2s;
}
.btn:hover,.btn-vip{
    background-color: var(--theme-color);
    color: #fff;
}
.btn-vip{
    padding:0 40px;
}
.btn-vip::after{
    border-top-color: #fff;
}
.btn:hover::after{
    border-top-color: #fff;
    transform: rotate(-180deg);
}
.user-btn{
    position: relative;
}
.btn-content{
    display: block;
    height: 100%;
    line-height: 36px;
}
.user-btn:hover .drop-menu{
    display: block;
}
.drop-menu{
    position: absolute;
    width: 100%;
    left: -1px;
    top: 36px;
    border: 1px solid #c9c9c9;
    border-radius: 0 0 3px 3px;
    overflow: hidden;
    display: none;

}
.drop-menu-a{
    display: block;
    line-height: 36px;
    text-align: center;
    background-color: #fff;
    transition: 0.2s;
}
.drop-menu-a:hover{
    background-color: var(--theme-color);
    color: #fff;
}
.drop-menu-a~.drop-menu-a{
    border-top: 1px solid #c9c9c9;
}

/* 子导航 */
.subnav-ul{
    display: flex;
    justify-content: center;
    gap: 20px;

}
.subnav-a{
    display: block;
    padding: 15px;
    font-size: 0.875rem;
}
.subnav-li.active .subnav-a{
    color: var(--theme-color);
}
/* 产品模块 */
.section{
    position: relative;
    overflow: hidden;
    background:linear-gradient(transparent,#fff);
}
.section-wrapper{
    padding: 4% 0 3% 0;
}
.section-h2{
    width: 196px;
    height: 34px;
    margin: 0 auto;
    margin-bottom: 1%;
    background: url(../images/index_title.png) no-repeat;
}
.section-pro{
    display: flex;
    gap: 20px;
    width:1000%;
}
.section-pro-box{
    overflow: hidden;
}
.section-pro-item{
    width: calc(2% - 20px);
}
.section-pro-box-a{
    display: block;
    position: relative;
}

.icon-play{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(../images/cover_play.png) no-repeat center / 30%;
    transform: scale(0);
    opacity: 0;
    transition: 0.4s;
}
.music-cover{
    width: 100%;
    transition: 0.4s;
}
.section-pro-box-a:hover .music-cover{
    transform: scale(1.15);
}
.section-pro-box-a:hover .icon-play{
    transform: scale(1);
    opacity: 1;
}
.section-pro-text{
    margin-top: 1em;
}
.section-h3-a{
    display: block;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.section-desc{
    color: #999;
    font-size: 0.875rem;
}

.section-container{
    margin-right: -20px;
    overflow: hidden;
}
.btn-page{
    position: absolute;
    width: 80px;
    height: 120px;
    background-color: rgba(0,0,0,0.05);
    top: 50%;
    margin-top: -60px;
    text-align: center;
    line-height: 120px;
    transition: 0.3s;
    cursor: pointer;
}
.btn-page:hover{
    background-color: rgba(0,0,0,0.1);
}
.btn-prev{
    left: 0;
    transform: translateX(-100%);
}
.btn-next{
    right: 0;
    transform: translateX(100%);
}
.btn-page .iconfont{
    font-size: 3rem;
    color: rgba(0,0,0,0.7);
}
.section:hover .btn-page{
    transform: translateX(0);
}
.section-pagebar-ul{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.section-pagebar-li{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.2s;
}
.section-pagebar-li.active,.section-pagebar-li:hover{
    background-color: rgba(0,0,0,0.3);
}

/* 新歌首发模块 */
.section1 .section-h2{
    background-position: 0 -50px;
}
.btn-box{
    display: inline-block;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    font-size: 0.875rem;
    text-align: center;
    color: #333;
}
.btn-playall{
    position: absolute;
    left: 0;    
}
.btn-box-a{
    display: block;
    width: max-content;
    padding: 0.5em 1.5em; 
    color: #333;
    box-sizing: border-box;
    min-width: 120px;
}
.btn-box-a .iconfont,.btn-box-a .btn-box-text{
    vertical-align: middle;
}
.btn-box-a:hover{
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
}
.btn-box-text{
    margin-left: 0.5em;
}

.section1 .section-pro-item,.section3 .section-pro-item,.section5 .section-pro-item{
    width: calc(10% - 20px);
}
.section-pro-sub{
    display: grid;
    grid-template:repeat(3,1fr) / repeat(3,calc((100% - 60px) / 3));
    column-gap: 30px;
}
.section-pro-subitem{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}
.section-pro-subitem:not(:nth-last-child(-n+3)){
    border-bottom: 1px solid #e5e5e5;
}
.section1 .section-pro-box{
    width: 80px;
    height: 80px;
}
.section1 .section-pro-text{
    width: 60%;
    margin-right: auto;
    margin-top: 0;
    line-height: 1.8;
}
.section-desc-author{
    color: #999;
}
.section1 .icon-play{
    background-size: 50%;
}

/* 新碟首发 */
.section3 .section-h2{
    background-position: 0 -150px;
}
.more{
    position: absolute;
    right: 0;
}
.more-a,.more .iconfont{
    font-size: 0.875rem;
}
.section3 .section-pro-sub,.section5 .section-pro-sub{
    grid-template:repeat(2,1fr) / repeat(5,calc((100% - 80px) / 5));
    gap: 20px;

}
.section3 .section-h3-a{
    max-width: 100%;
}


/* footer */

.footer{
    background-color: #333;
    color: #999;
}
.footer-wrapper{
    padding: 80px 0 30px;
}
.footer a{
    color: #999;
    font-size: 0.875rem;
}
.footer a:hover{
    color: var(--theme-color);
}
.footer-top{
    display: grid;
    grid-template:repeat(2,auto) / repeat(3,1fr);
    gap:80px 100px;
    margin-bottom: 100px;
}
.footer-title{
    margin-bottom: 30px;
    font-size: 1rem;
}
.footer-item-a{
    display: block;
    text-align: center;
}

.footer-icon{
    width: 46px;
    height: 48px;
    background: url(../images/footer.png) no-repeat;
    margin: 0 auto 10px;
}
.footer-item-a:hover .footer-icon0{
    background-position: 0 -49px;
}
.footer-item-ul{
    display: flex;
    justify-content: space-between;

}
.footer-icon1{
    background-position: -92px 0;
}
.footer-item-a:hover .footer-icon1{
    background-position: -92px -49px;
}
.footer-icon2{
    background-position: -185px 0;
}
.footer-item-a:hover .footer-icon2{
    background-position: -185px -49px;
}
.footer-icon3{
    background-position: -273px 0;
}
.footer-item-a:hover .footer-icon3{
    background-position: -273px -49px;
}
.footer-icon4{
    background-position: -367px 0;
}
.footer-item-a:hover .footer-icon4{
    background-position: -367px -49px;
}
.footer-icon5{
    background-position: -458px 0;
}
.footer-item-a:hover .footer-icon5{
    background-position: -458px -48px;
}
.footer-icon6{
    background-position: -560px 0;
}
.footer-item-a:hover .footer-icon6{
    background-position: -560px -49px;
}
.footer-icon7{
    background-position: -647px 0;
}
.footer-item-a:hover .footer-icon7{
    background-position: -647px -49px;
}
.footer-item-wrap{
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
}
.footer-item-wrap .footer-item-li{
    width: 25%;
}
.footer-links{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}
.footer-copyright{
    text-align: center;
    font-size: 0.75rem;
    line-height: 2.2;
}
.footer-copyright-a{
    margin-right: 5px;
}
.footer-copyright-a:not(:first-of-type)::before{
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: #999;
    margin-right: 7px;
}

/* 侧边栏 */
.aside{
    position: fixed;
    right: 40px;
    bottom: 40px;    
}
.aside-box-a{
    box-sizing: border-box;
    display: block;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    background-color: #fff;
    width: 40px;
    height: 40px;
    /* padding-top: 13px; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
}
.aside-box-a:hover{
    background-color: #eee;
}
.aside-box-a~.aside-box-a{
    margin-top: 3px;
}
.aside-icon{
    display: block;
    background: url(../images/icon_sprite.png) no-repeat;
}
.back{
    width: 19px;
    height: 11px;
    background-position:-159px 0;
}
.music{
    width: 20px;
    height: 17px;
    background-position:-180px 0;
}

.btn-capsule{
    display: inline-block;
    padding: 0.5em 3em;
    border-radius: 2em;
    background-color: var(--theme-color);
    color: #fff;
    text-align: center;
    /* 整体调整明度 */
    /* filter: brightness(0.9); */
    opacity: 0.85;
}
.btn-capsule:hover{
    color: #fff;
    /* filter: brightness(1); */
    opacity: 1;
}
.comment-arrow-bottom{
    display: inline-block;
    width: 10px;
    height: 6px;
    background: url(../images/icon_sprite.png) no-repeat -140px -322px;
}
.comment-open{
    color: #999;
    cursor: pointer;
}
.comment-open:hover{
    color: var(--theme-color);
}
.comment-open:hover .comment-arrow-bottom{
    background-position: -140px -302px;
}

.app-download{
    position: fixed;
    width: 200px;
    box-sizing: border-box;
    padding:20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    right: 20px;
    top: 200px;
    z-index: 20;
    color: #999;
    text-align: center;
}
.download-logo{
    width: 60%;
    margin-bottom: 10px;
}
.download-a{
    display: inline-block;
    background-color: var(--theme-color);
    color: #fff;
    font-size: 0.875rem;
    padding: 0.3em 2em;
    border-radius: 3em;
    opacity: 0.86;
    transition: 0.2s;
    margin-top: 10px;

}
.download-a:hover{
    color: #fff;
    opacity: 1;
}
.download-icon{
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background: url(../images/icon_sprite.png) no-repeat -160px -320px;
}


@media screen and (max-width:1250px){
    .w100{
        min-width: 1000px;
    }
    .w1600{
        width: 95%;
        min-width: 1000px;
    }
    .btn-money{
        display: none;
    }
    .search{
        width: 30px;
        position: absolute;
        right: 193px;
        transition: 0.5s;
        z-index: 10;
        background-color: #fff;
    }
    .search-input{
        width: 0;
        border: none;
    }
    .search:hover{
        width: 220px;
    }
    .search:hover .search-input{
        width: 100%;
        border: 1px solid #c9c9c9;
    }
    .header-box{
        position: relative;
    }

}